
<?php echo $this->tag->form("questions/create") ?>

<table width="100%">
    <tr>
        <td align="left"><?php echo $this->tag->linkTo(array("questions", "Go Back")) ?></td>
        <td align="right"><?php echo $this->tag->submitButton("Save") ?></td>
    </tr>
</table>

<?php echo $this->getContent(); ?>

<div align="center">
    <h1>Create questions</h1>
</div>

<table>
    <tr>
        <td align="right">
            <label for="question">Question</label>
        </td>
        <td align="left">
                <?php echo $this->tag->textField(array("question", "type" => "date")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="answerA">AnswerA</label>
        </td>
        <td align="left">
                <?php echo $this->tag->textField(array("answerA", "type" => "date")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="answerB">AnswerB</label>
        </td>
        <td align="left">
                <?php echo $this->tag->textField(array("answerB", "type" => "date")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="answerC">AnswerC</label>
        </td>
        <td align="left">
                <?php echo $this->tag->textField(array("answerC", "type" => "date")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="answerD">AnswerD</label>
        </td>
        <td align="left">
                <?php echo $this->tag->textField(array("answerD", "type" => "date")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="reference">Reference</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("reference", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="audio">Audio</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("audio", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="position">Position</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("position", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="correct">Correct</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("correct", "size" => 30)) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="level">Level</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("level", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="difficult">Difficult</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("difficult", "type" => "number")) ?>
        </td>
    </tr>
    <tr>
        <td align="right">
            <label for="part">Part</label>
        </td>
        <td align="left">
            <?php echo $this->tag->textField(array("part", "type" => "number")) ?>
        </td>
    </tr>

    <tr>
        <td></td>
        <td><?php echo $this->tag->submitButton("Save") ?></td>
    </tr>
</table>

</form>
